package com.myboot.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.persistence.criteria.CriteriaBuilder;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 19:40 2018/12/24
 */
@RestController
@RequestMapping("/weixin")
@Slf4j
public class WeixinController {

    @GetMapping("/auth")
    public void auto(@RequestParam("code") String code){
        log.info("进入方法。。。。");
        log.info("code={}",code);
    }

}
